/*
 * commons is a based project implemented
 * Copyright (C) 2024 Jasmine
 */
package com.easy.captcha.enums;

/**
 * 验证码类型枚举
 *
 * @author Jasmine
 * @since 1.0.0
 */
public enum CaptchaTypeEnum {
    RANDOM(1, "随机字符串"),
    MATH(2, "运算式"),;

    private Integer code;
    private String desc;

    CaptchaTypeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
